package com.gewu.pm.ui.activity.delivery;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.gewu.pm.R;
import com.gewu.pm.app.AppActivity;
import com.gewu.pm.other.IntentKey;

/**
 * 配送订单详情Activity（空白页面）
 */
public final class DeliveryOrderDetailActivity extends AppActivity {

    private String mOrderId;

    public static void start(Context context, String orderId) {
        Intent intent = new Intent(context, DeliveryOrderDetailActivity.class);
        intent.putExtra(IntentKey.ID, orderId);
        context.startActivity(intent);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.delivery_order_detail_activity;
    }

    @Override
    protected void initView(Bundle savedInstanceState) {
        // 获取订单ID
        mOrderId = getString(IntentKey.ID);
        
        // 设置标题
        setTitle("订单详情 - " + mOrderId);
    }

    @Override
    protected void initData() {
        // TODO: 加载订单详情数据
    }
}

